Skip to contentSkip to conversation

Invalid configuration from end user prevents continuing

DISCUSSION Andrew Stuart 2 participants 2 messages Nov 3, 2016

lore
Share & tools
lore
#0 lore raw

Hello

I'm trying to get yocto to run from a hard disk. It's not finishing the boot process. Research suggests that there is some problem around the rootfs.

Here is a screenshot of where the boot is stuck (also attached to this email)

http://imgur.com/a/pf9Cy

grub.cfg looks like this:

serial --speed=115200 --word=8 --parity=no --stop=1 terminal_input --append serial
terminal_output --append serial
set timeout=1
GRUB_TIMEOUT=1
menuentry 'yocto' {
linux /boot/yocto_bzImage root=/dev/xvda1 rw console=ttyS0,115200 }

To make this system boot, I did the following:
1: boot ubuntu
2: delete everything except the /boot directory from ubuntu’s root partition 3: mount the rootfs image that was generated by yocto
4: copy all files from the mounted rootfs image onto the hard drive root partition 5: replace the grub.cfg with the one shown above.

It should work I imagine…..

I guess that an invalid configuration from me is preventing it continuing. Trouble is I am not sure what I have configured wrong.

I'm not sure what I can do to take a next step in resolving this. Does anyone have any suggestions? thanks.

thanks

#1 lore raw
Quoted 13 lines · Andrew Stuart

Hello

I'm trying to get yocto to run from a hard disk. It's not finishing the boot process. Research suggests that there is some problem around the rootfs.

Here is a screenshot of where the boot is stuck (also attached to this email)

http://imgur.com/a/pf9Cy <http://imgur.com/a/pf9Cy>

grub.cfg looks like this:

Quoted 7 lines

serial --speed=115200 --word=8 --parity=no --stop=1 terminal_input --append serial
terminal_output --append serial
set timeout=1
GRUB_TIMEOUT=1
menuentry 'yocto' {
linux /boot/yocto_bzImage root=/dev/xvda1 rw console=ttyS0,115200

You might need to change this to whatever kernel thinks about the root disk device may be its added as /dev/sdaX or /dev/hdaX

Quoted 26 lines

}

To make this system boot, I did the following:
1: boot ubuntu
2: delete everything except the /boot directory from ubuntu’s root partition 3: mount the rootfs image that was generated by yocto
4: copy all files from the mounted rootfs image onto the hard drive root partition 5: replace the grub.cfg with the one shown above.

It should work I imagine…..

I guess that an invalid configuration from me is preventing it continuing. Trouble is I am not sure what I have configured wrong.

I'm not sure what I can do to take a next step in resolving this. Does anyone have any suggestions? thanks.

thanks

<attachment.jpeg>
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto